<template>
    <div id="app">
        <div class="con">
            <div class="centerbox">
                <img src="../../assets/images/index/notpage.png" alt="">
                <h3>您访问的页面不存在</h3>
                <button type="primary" @click="jumpUp">返回上层</button>
            </div>
        </div>
    </div>
</template>

<script>
export default {
    methods: {
        jumpUp() {
            this.$router.go(-1)
        }
    }
}
</script>

<style scoped>
#app {
    min-width: 1200px;
    background: #F2F2F2;
    height: 100vh;
}

.con {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.centerbox {
    width: 306px;
    height: 306px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

img {
    width: 80px;
    height: 80px;
}

h3 {
    font-size: 34px;
    color: #000000A6;
    font-weight: normal;
}

button {
    width: 300px;
    height: 45px;
    background-color: #D02F1E;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    color: #fff;
}

button:hover {
    background-color: rgb(222, 87, 67);
}
</style>